-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[kube-prometheus-stack] Minify Grafana Dashboards and Update CRDs to 0.65.1 #3416
[kube-prometheus-stack] Minify Grafana Dashboards and Update CRDs to 0.65.1 #3416
Conversation
Signed-off-by: Jan-Otto Kröpke <[email protected]>
f451310
to
d85d8ee
Compare
Signed-off-by: Jan-Otto Kröpke <[email protected]>
d85d8ee
to
a74dfbe
Compare
Signed-off-by: Jan-Otto Kröpke <[email protected]>
440825e
to
9c645d0
Compare
Signed-off-by: Jan-Otto Kröpke <[email protected]>
Signed-off-by: Jan-Otto Kröpke <[email protected]>
# fix drilldown links. See https://github.com/kubernetes-monitoring/kubernetes-mixin/issues/659 | ||
for row in content_struct['rows']: | ||
for panel in row['panels']: | ||
for style in panel.get('styles', []): | ||
if 'linkUrl' in style and style['linkUrl'].startswith('./d'): | ||
style['linkUrl'] = style['linkUrl'].replace('./d', '/d') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fixed upstream
Signed-off-by: Jan-Otto Kröpke <[email protected]>
9026331
to
7e9b291
Compare
@jkroepke this is an awesome find for now :) I think we are missing the RBAC to access those CRDs but I will take a better look today |
@QuentinBisson Maintainers are allowed to edit this pull request is enabled, so feel free to commit into this. |
Signed-off-by: QuentinBisson <[email protected]>
a47cdf8
to
181f72d
Compare
Signed-off-by: Quentin Bisson <[email protected]>
@jkroepke Done i'll test this now |
charts/kube-prometheus-stack/templates/prometheus-operator/clusterrole.yaml
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grafana dashboard tested
Thank you @jkroepke |
…0.65.1 (prometheus-community#3416) * [kube-prometheus-stack] Minify Grafana Dashboards Signed-off-by: Jan-Otto Kröpke <[email protected]> * [kube-prometheus-stack] Minify Grafana Dashboards Signed-off-by: Jan-Otto Kröpke <[email protected]> * [kube-prometheus-stack] Update CRDs Signed-off-by: Jan-Otto Kröpke <[email protected]> * [kube-prometheus-stack] Test remove dashboards Signed-off-by: Jan-Otto Kröpke <[email protected]> * [kube-prometheus-stack] revert Test remove dashboards Signed-off-by: Jan-Otto Kröpke <[email protected]> * [kube-prometheus-stack] minify CoreDNS dashboard Signed-off-by: Jan-Otto Kröpke <[email protected]> * Add missing rbac and readme Signed-off-by: QuentinBisson <[email protected]> --------- Signed-off-by: Jan-Otto Kröpke <[email protected]> Signed-off-by: QuentinBisson <[email protected]> Signed-off-by: Quentin Bisson <[email protected]> Co-authored-by: QuentinBisson <[email protected]>
What this PR does / why we need it
Reduce the helm chart size (see #3267 (comment))
Which issue this PR fixes
(optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged)Special notes for your reviewer
Size of the helm release on branch main
Size of the helm release on branch minify-json-dashboards
Checklist
[prometheus-couchdb-exporter]
)